package com.ruoyi.pack.domain;

import javax.validation.constraints.NotNull;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目仓库操作权限表 pack_project_warehouse_operation
 * 
 * @author ruoyi
 */
public class PackProjectWarehouseOperation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目仓库ID */
    private Long projectWarehouseId;

    /** 项目ID */
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    /** 仓库ID */
    @NotNull(message = "仓库ID不能为空")
    private Long warehouseId;

    /** 允许满箱入库（0-否 1-是） */
    @Excel(name = "允许满箱入库", readConverterExp = "0=否,1=是")
    private String allowFullInbound;

    /** 允许满箱出库（0-否 1-是） */
    @Excel(name = "允许满箱出库", readConverterExp = "0=否,1=是")
    private String allowFullOutbound;

    /** 允许空箱入库（0-否 1-是） */
    @Excel(name = "允许空箱入库", readConverterExp = "0=否,1=是")
    private String allowEmptyInbound;

    /** 允许空箱出库（0-否 1-是） */
    @Excel(name = "允许空箱出库", readConverterExp = "0=否,1=是")
    private String allowEmptyOutbound;

    /** 允许装箱（0-否 1-是） */
    @Excel(name = "允许装箱", readConverterExp = "0=否,1=是")
    private String allowPacking;

    /** 允许拆箱（0-否 1-是） */
    @Excel(name = "允许拆箱", readConverterExp = "0=否,1=是")
    private String allowUnpacking;

    /** 装箱时机（1-入库后自动装箱 2-手动装箱 3-出库前自动装箱） */
    @Excel(name = "装箱时机", readConverterExp = "1=入库后自动装箱,2=手动装箱,3=出库前自动装箱")
    private String packingTiming;

    /** 拆箱时机（1-入库后自动拆箱 2-手动拆箱 3-出库前自动拆箱） */
    @Excel(name = "拆箱时机", readConverterExp = "1=入库后自动拆箱,2=手动拆箱,3=出库前自动拆箱")
    private String unpackingTiming;

    /** 允许折叠整理（0-否 1-是） */
    @Excel(name = "允许折叠整理", readConverterExp = "0=否,1=是")
    private String allowFolding;

    /** 允许清洗（0-否 1-是） */
    @Excel(name = "允许清洗", readConverterExp = "0=否,1=是")
    private String allowCleaning;

    /** 允许维修（0-否 1-是） */
    @Excel(name = "允许维修", readConverterExp = "0=否,1=是")
    private String allowRepair;

    /** 项目编码（用于导出） */
    @Excel(name = "项目编码")
    private String projectCode;

    /** 项目名称（用于导出） */
    @Excel(name = "项目名称")
    private String projectName;

    /** 仓库编码（用于导出） */
    @Excel(name = "仓库编码")
    private String warehouseCode;

    /** 仓库名称（用于导出） */
    @Excel(name = "仓库名称")
    private String warehouseName;

    public Long getProjectWarehouseId()
    {
        return projectWarehouseId;
    }

    public void setProjectWarehouseId(Long projectWarehouseId)
    {
        this.projectWarehouseId = projectWarehouseId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getWarehouseId()
    {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getAllowFullInbound()
    {
        return allowFullInbound;
    }

    public void setAllowFullInbound(String allowFullInbound)
    {
        this.allowFullInbound = allowFullInbound;
    }

    public String getAllowFullOutbound()
    {
        return allowFullOutbound;
    }

    public void setAllowFullOutbound(String allowFullOutbound)
    {
        this.allowFullOutbound = allowFullOutbound;
    }

    public String getAllowEmptyInbound()
    {
        return allowEmptyInbound;
    }

    public void setAllowEmptyInbound(String allowEmptyInbound)
    {
        this.allowEmptyInbound = allowEmptyInbound;
    }

    public String getAllowEmptyOutbound()
    {
        return allowEmptyOutbound;
    }

    public void setAllowEmptyOutbound(String allowEmptyOutbound)
    {
        this.allowEmptyOutbound = allowEmptyOutbound;
    }

    public String getAllowPacking()
    {
        return allowPacking;
    }

    public void setAllowPacking(String allowPacking)
    {
        this.allowPacking = allowPacking;
    }

    public String getAllowUnpacking()
    {
        return allowUnpacking;
    }

    public void setAllowUnpacking(String allowUnpacking)
    {
        this.allowUnpacking = allowUnpacking;
    }

    public String getPackingTiming()
    {
        return packingTiming;
    }

    public void setPackingTiming(String packingTiming)
    {
        this.packingTiming = packingTiming;
    }

    public String getUnpackingTiming()
    {
        return unpackingTiming;
    }

    public void setUnpackingTiming(String unpackingTiming)
    {
        this.unpackingTiming = unpackingTiming;
    }

    public String getAllowFolding()
    {
        return allowFolding;
    }

    public void setAllowFolding(String allowFolding)
    {
        this.allowFolding = allowFolding;
    }

    public String getAllowCleaning()
    {
        return allowCleaning;
    }

    public void setAllowCleaning(String allowCleaning)
    {
        this.allowCleaning = allowCleaning;
    }

    public String getAllowRepair()
    {
        return allowRepair;
    }

    public void setAllowRepair(String allowRepair)
    {
        this.allowRepair = allowRepair;
    }

    public String getProjectCode()
    {
        return projectCode;
    }

    public void setProjectCode(String projectCode)
    {
        this.projectCode = projectCode;
    }

    public String getProjectName()
    {
        return projectName;
    }

    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getWarehouseCode()
    {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode)
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName()
    {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName)
    {
        this.warehouseName = warehouseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectWarehouseId", getProjectWarehouseId())
            .append("projectId", getProjectId())
            .append("warehouseId", getWarehouseId())
            .append("allowFullInbound", getAllowFullInbound())
            .append("allowFullOutbound", getAllowFullOutbound())
            .append("allowEmptyInbound", getAllowEmptyInbound())
            .append("allowEmptyOutbound", getAllowEmptyOutbound())
            .append("allowPacking", getAllowPacking())
            .append("allowUnpacking", getAllowUnpacking())
            .append("packingTiming", getPackingTiming())
            .append("unpackingTiming", getUnpackingTiming())
            .append("allowFolding", getAllowFolding())
            .append("allowCleaning", getAllowCleaning())
            .append("allowRepair", getAllowRepair())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 